Skip to content

tests: raise mutation coverage - #30

Merged
marciomyst merged 2 commits into
developfrom
refactor/add-more-tests
May 10, 2026
Merged

tests: raise mutation coverage#30
marciomyst merged 2 commits into
developfrom
refactor/add-more-tests

Conversation

@marciomyst

Copy link
Copy Markdown
Owner

What changed

  • Raised mutation coverage in backend domain and application tests.
  • Added targeted tests for Result<T>, PagedResult<T>, authentication, movie handlers, and domain value objects/entities.
  • Fixed the mutation test wrapper and added dotnet-tools.json so Stryker runs from the source project context reliably.
  • Updated the README routing note to match the current SPA entry points.

Validation

  • dotnet test backend/tests/SmartMovieCatalog.Domain.Tests/SmartMovieCatalog.Domain.Tests.csproj --no-restore
  • dotnet test backend/tests/SmartMovieCatalog.Application.Tests/SmartMovieCatalog.Application.Tests.csproj --no-restore
  • powershell -NoProfile -ExecutionPolicy Bypass -File .\eng\scripts\test-mutation.ps1 -Scope both

Result

  • Domain mutation score: 89.36%
  • Application mutation score: 94.74%

@marciomyst marciomyst changed the title [codex] raise mutation coverage tests: raise mutation coverage May 10, 2026
@marciomyst
marciomyst marked this pull request as ready for review May 10, 2026 19:36
@marciomyst
marciomyst merged commit 47eafce into develop May 10, 2026
4 of 5 checks passed
@marciomyst marciomyst self-assigned this May 10, 2026
@marciomyst marciomyst added this to the M1 — Core Movie Catalog milestone May 10, 2026
@sonarqubecloud

Copy link
Copy Markdown

@marciomyst marciomyst added type:docs Documentation-only change type:test Test-only change or test coverage improvement area:quality Code quality, Sonar, linting, formatting, and maintainability labels May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:quality Code quality, Sonar, linting, formatting, and maintainability type:docs Documentation-only change type:test Test-only change or test coverage improvement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant